Optimal. Leaf size=28 \[ \frac{\sqrt{3 x+2} \log (3 x+2)}{3 \sqrt{-3 x-2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0030387, antiderivative size = 28, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105, Rules used = {23, 31} \[ \frac{\sqrt{3 x+2} \log (3 x+2)}{3 \sqrt{-3 x-2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 23
Rule 31
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{-2-3 x} \sqrt{2+3 x}} \, dx &=\frac{\sqrt{2+3 x} \int \frac{1}{2+3 x} \, dx}{\sqrt{-2-3 x}}\\ &=\frac{\sqrt{2+3 x} \log (2+3 x)}{3 \sqrt{-2-3 x}}\\ \end{align*}
Mathematica [A] time = 0.0059376, size = 28, normalized size = 1. \[ \frac{(3 x+2) \log (3 x+2)}{3 \sqrt{-(3 x+2)^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 23, normalized size = 0.8 \begin{align*}{\frac{\ln \left ( 2+3\,x \right ) }{3}\sqrt{2+3\,x}{\frac{1}{\sqrt{-2-3\,x}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] time = 1.55498, size = 8, normalized size = 0.29 \begin{align*} \frac{1}{3} i \, \log \left (x + \frac{2}{3}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.48654, size = 4, normalized size = 0.14 \begin{align*} 0 \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 1.40529, size = 53, normalized size = 1.89 \begin{align*} \begin{cases} - \frac{i \log{\left (x + \frac{2}{3} \right )}}{3} & \text{for}\: \left |{x + \frac{2}{3}}\right | < 1 \\\frac{i \log{\left (\frac{1}{x + \frac{2}{3}} \right )}}{3} & \text{for}\: \frac{1}{\left |{x + \frac{2}{3}}\right |} < 1 \\\frac{i{G_{2, 2}^{2, 0}\left (\begin{matrix} & 1, 1 \\0, 0 & \end{matrix} \middle |{x + \frac{2}{3}} \right )}}{3} - \frac{i{G_{2, 2}^{0, 2}\left (\begin{matrix} 1, 1 & \\ & 0, 0 \end{matrix} \middle |{x + \frac{2}{3}} \right )}}{3} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] time = 1.06409, size = 15, normalized size = 0.54 \begin{align*} -\frac{1}{3} i \, \log \left ({\left | 3 \, x + 2 \right |}\right ) \mathrm{sgn}\left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]